/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desarrollo_version;

/**
 *
 * @author CP11
 */
public class numero {
    public static int Conejos(int x) {
        if(x>=0) {
           System.out.println(x); 
        return x+Conejos(x-1)/2;
        
        }else
        return 0;
    }
}
